﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房主评价
    /// </summary>
    public class HouseHolderEvaluation
    {
        private int _id;                            // PK

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }


        private int _houseHolderId;                 // FK  房主Id

        public int HouseHolderId
        {
            get { return _houseHolderId; }
            set { _houseHolderId = value; }
        }


        private int _clientId;                      // FK  客户Id(评论人)

        public int ClientId
        {
            get { return _clientId; }
            set { _clientId = value; }
        }


        private DateTime _publishTime;              // 评论发表时间

        public DateTime PublishTime
        {
            get { return _publishTime; }
            set { _publishTime = value; }
        }


        private string _content;                    // 评论内容

        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }


        private int _level;                         // 评级

        public int Level
        {
            get { return _level; }
            set { _level = value; }
        }
    }
}
